import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;

/**
 * Write a description of class Impactos here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Impactos extends Letreros
{
    public Impactos(int num)
    {
        marcador = num;
        setImage(new GreenfootImage("IMPACTOS: " + marcador, 20, Color.WHITE, Color.BLACK));
    }
    
   public void Count(int amount)
    {
        marcador += amount;
        setImage(new GreenfootImage("IMPACTOS: " + marcador, 20, Color.WHITE, Color.BLACK));
    }    
}
